<link rel="stylesheet" href="<?php echo URL::base() ?>media/vendor/css/style.css" type="text/css" media="all" />
<link rel="stylesheet" href="<?php echo URL::base() ?>media/vendor/artdialog/skins/default.css" type="text/css" media="all" />
<link href="<?php echo URL::base() ?>media/vendor/css/ui-lightness/jquery-ui-1.10.4.custom.css" rel="stylesheet">
<link href="<?php echo URL::base() ?>media/vendor/fixtable/css/component.css" rel="stylesheet">
<link href="<?php echo URL::base() ?>media/vendor/fixtable/css/normalize.css" rel="stylesheet">
<link href="<?php echo URL::base() ?>media/vendor/css/jquery-ui-timepicker-addon.min.css" rel="stylesheet">
<script src="<?php echo URL::base() ?>media/vendor/js/jquery-1.10.2.js"></script>
<script src="<?php echo URL::base() ?>media/vendor/js/jquery-ui-1.10.4.custom.js"></script>
<script src="<?php echo URL::base() ?>media/vendor/js/jquery-ui-timepicker-addon.min.js"></script>
<script src="<?php echo URL::base() ?>media/vendor/js/jquery-ui-timepicker-zh-CN.js"></script>
<script src="<?php echo URL::base() ?>media/vendor/js/jquery.ui.datepicker-zh-TW.js"></script>
<script src="<?php echo URL::base() ?>media/vendor/js/Validform_v5.3.2_ncr_min.js"></script>
<script src="<?php echo URL::base() ?>media/vendor/artdialog/jquery.artDialog.js"></script>	   
<script src="<?php echo URL::base() ?>media/vendor/js/jquery.printPage.js"></script>
<script type="text/javascript">
$(function() {
	$(".upSuppForm").Validform({tiptype:2,});
});
</script>
<?php if(isset($message)){echo $message;}?>
<?php if(isset($error_arr)){?>
<table>
<?php foreach ($error_arr as $key=>$error){
	foreach ($error as $_error){
		if($key==0){?>
	<tr><td>第<?php echo $_error;?>行: </td><td>采购订单不存在或者订单状态不为已打印</td></tr>
<?php }else{?>
	<tr><td>第<?php echo $_error;?>行: </td><td>付款金额有误</td></tr>
<?php }?>			
<?php }}?>
</table>
<?php }?>
<div class="row">
  <div class="span11">
	  <form class="upSuppForm" method='post' action='<?php echo URL::site() ?>uploadpays/upload_pays' enctype="multipart/form-data">
		  <table class="table ">
		     <tr>
		       <!--<td class="need"></td>
		       --><td>批量上传:</td>
		       <td> <input type='file'   style="line-height: 0px;" name='xls' class="inputxt" datatype="/.+\.xls/"  nullmsg="请选择上传文件"  errormsg="文件格式只能为xls"/></td>
		       <td><div class="Validform_checktip"></div></td>
		     </tr>
		     <!--<tr>
			   <td class="need"></td>
			   <td></td>
			   <td colspan="2"></td>
		     </tr>
		  --></table>
		  <input type='submit' value='上传' class='btn btn-success' />
		  <div class="btn btn-success"><a href="<?php echo URL::site() ?>uploadpays/down_template" style="color: #ffffff">下载模版</a></div>
	  </form>
	  
  </div>
</div>